import request from '@/utils/request'

// 查询zxorderurl列表
export function listZsorderurl(query) {
  return request({
    url: '/system/url/list',
    method: 'get',
    params: query
  })
}

// 查询zxorderurl详细
export function getZsorderurl(id) {
  return request({
    url: '/system/url/' + id,
    method: 'get'
  })
}

// 新增zxorderurl
export function addZsorderurl(data) {
  return request({
    url: '/system/url',
    method: 'post',
    data: data
  })
}

// 修改zxorderurl
export function updateZsorderurl(data) {
  return request({
    url: '/system/url',
    method: 'put',
    data: data
  })
}

// 删除zxorderurl
export function delZsorderurl(id) {
  return request({
    url: '/system/url' + id,
    method: 'delete'
  })
}

// 查询zsorderurl文件信息
export function getFileInformation(query) {
  return request({
    url: '/system/url/getFileInformation',
    method: 'get',
    params: query
  })
}

